<?php /* Smarty version 2.6.18, created on 2009-02-28 10:08:31
         compiled from editword.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'webcontrol', 'editword.html', 10, false),array('function', 'url', 'editword.html', 11, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>视听词典</title>
<script language="javascript" type="text/javascript" src="templates/js/word.js"></script>
<link href="templates/css/index.css" rel="stylesheet" type="text/css" />
</head>
<body>
  <?php echo $this->_plugins['function']['webcontrol'][0][0]->_pi_func_webcontrol(array('type' => 'menu','name' => 'mymenu'), $this);?>

    <form id="pic" method='post' action="<?php echo $this->_plugins['function']['url'][0][0]->_pi_func_url(array('controller' => 'edit','action' => 'editword'), $this);?>
">
        id:<br><input type="text" name="id" value="<?php echo $this->_tpl_vars['data']['Id']; ?>
">
        <br>
        word:<br><input type="text" name="word" value="<?php echo $this->_tpl_vars['data']['Word']; ?>
">
        <br>
        音标:<br><input type="text" name="yinbiao" value="<?php echo $this->_tpl_vars['data']['YinBiao']; ?>
"><script language="javascript" type="text/javascript">document.write(str2img("<?php echo $this->_tpl_vars['data']['YinBiao']; ?>
"));</script>
        <br>
        汉语解释:<br><textarea Name="hanyujieshi" rows="4" cols="20"><?php echo $this->_tpl_vars['data']['HanYuJieshe']; ?>
</textarea>
        <br>
       <input type="reset" value="重置">
        <input type="submit" value="提交">
    </form>
</body>
</html>